﻿namespace Tetris.Game.View
{
    public partial class FrmBase : Form
    {
        public FrmBase()
        {
            InitializeComponent();

            SetStyle(
                ControlStyles.ResizeRedraw
                | ControlStyles.DoubleBuffer
                | ControlStyles.UserPaint
                | ControlStyles.AllPaintingInWmPaint
                | ControlStyles.SupportsTransparentBackColor,
                true
                );
            this.UpdateStyles();
            this.AutoScaleMode = AutoScaleMode.Dpi;
            this.DoubleBuffered = true;
        }
    }
}
